import { createMovieTag } from "./list/index.js";
import { getMovies } from "@/api/movie.js";
import "./pager/index.js";
import { createPagers } from "./pager/index.js";

async function init() {
  const resp = await getMovies(1, 30);
  createMovieTag(resp.data.movieList);
  createPagers(1, 30, resp.data.movieTotal);
}

init();
